import Vue from 'vue'
import Router from 'vue-router'
import api from '../api/routes.js'
import Vuex from 'vuex'
import layout from '../layout/index.vue'
Vue.use(Router)
// 配置项目中没有涉及权限的公共路由
export const constantRoutes = [
 
]

export default new Router({
    //mode: 'history',
    scrollBehavior: () => ({ y: 0 }),
    routes:constantRoutes
})